<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>教师列表</title>
		<meta name="Description" content="基于layUI数据表格操作"/>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
		<link rel="stylesheet" href="../../static/css/font.css">
		<link rel="stylesheet" href="../../static/css/weadmin.css">
		<link rel="stylesheet" href="../../layui/css/layui.css">
		<!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
			<script src="../../static/js/jquery-1.11.1.min.js"></script>
	      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
		  <script src="../../static/js/common.js" charset="utf-8"></script>

		  <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>

		<style type="text/css">
			.layui-form-switch {
				width: 55px;
			}			
			.layui-form-switch em {
				width: 40px;
			}
			body{overflow-y: scroll;}
		</style>
	</head>

	<body>
		<div class="weadmin-nav">
			<span class="layui-breadcrumb">
        <a href="">首页</a>
        <a href="">教师管理</a>
        <a>
          <cite>教师列表</cite></a>
      </span>
			<a class="layui-btn layui-btn-sm" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
				<i class="layui-icon" style="line-height:30px">&#x1002;</i></a>
		</div>
		<div class="weadmin-body">
			<div class="layui-row" id="search">
				<form class="layui-form layui-col-md12 we-search">
					教师搜索：
					<div class="layui-inline">
						<input type="text" name="keyword" placeholder="请输入关键字" autocomplete="off" class="layui-input">
					</div>
					<button class="layui-btn" lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>
				</form>
			</div>
			<div class="weadmin-block demoTable">

				<button class="layui-btn" onclick="WeAdminShow('添加教师','./add.html',600,400)"><i class="layui-icon">&#xe61f;</i>添加</button>
			</div>
			<table class="layui-hide" id="teacherList" lay-filter="teacherbar"></table>
			<script type="text/html" id="teacherOpBar">
				<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
				<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
			</script>

			<script src="../../lib/layui/layui.js" charset="utf-8"></script>
			<script src="list.js" type="text/javascript" charset="utf-8"></script>
			<div id="editForm" style="display: none">
				<form class="layui-form layui-form-pane">
					<div class="layui-form-item" pane>
						<label for="L_userno" class="layui-form-label">
							<span class="we-red">*</span>教师工号
						</label>
						<div class="layui-input-inline">
							<input type="text" id="L_userno" name="userno" lay-verify="required|nikename" autocomplete="off" class="layui-input">
						</div>
						<div class="layui-form-mid layui-word-aux">
							请设置至少5个字符，将会成为您唯一的登录名
						</div>
					</div>

					<div class="layui-form-item" pane>
						<label for="L_username" class="layui-form-label">
							<span class="we-red">*</span>教师姓名
						</label>
						<div class="layui-input-inline">
							<input type="text" id="L_username" name="username" lay-verify="required|username" autocomplete="off" class="layui-input">
						</div>
					</div>

					<div class="layui-form-item" pane>
						<label for="L_birthday" class="layui-form-label">
							<span class="we-red">*</span>出生日期
						</label>
						<div class="layui-input-inline">
							<input type="text" id="L_birthday" name="birthday" lay-verify="required|date" autocomplete="off" placeholder="yyyy-MM-dd" class="layui-input">
						</div>
					</div>

					<div class="layui-form-item" pane>
						<label  class="layui-form-label">
							<span for="L_department" class="we-red">*</span>隶属学院
						</label>
						<div class="layui-input-inline">
							<select id="L_department" name="department" lay-verify="required" lay-filter="department" >

							</select>
						</div>
					</div>

					<div class="layui-form-item" pane>
						<label  class="layui-form-label">
							<span for="L_gradeclass" class="we-red">*</span>专业
						</label>
						<div class="layui-input-inline">
							<select id="L_gradeclass" name="gradeclass" lay-verify="required" lay-search>

							</select>
						</div>
					</div>

					<div class="layui-form-item" pane>
						<label for="L_sex" class="layui-form-label">性别</label>
						<div class="layui-input-block" id="L_sex">
							<input type="radio" name="sex" value="1" title="男" checked>
							<input type="radio" name="sex" value="2" title="女">
							<input type="radio" name="sex" value="3" title="未知">
						</div>
					</div>

					<div class="layui-form-item" pane>
						<label for="L_phone" class="layui-form-label">
							<span class="we-red">*</span>手机号码
						</label>
						<div class="layui-input-inline">
							<input type="text" id="L_phone" name="phone" lay-verify="required|phone" autocomplete="" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item" pane>
						<label for="L_email" class="layui-form-label">
							<span class="we-red">*</span>邮箱
						</label>
						<div class="layui-input-inline">
							<input type="text" id="L_email" name="email" autocomplete="off" class="layui-input">
						</div>

					</div>

					<div class="layui-form-item" pane>
						<label class="layui-form-label"><span class="we-red">*</span>身份证号码</label>
						<div class="layui-input-inline">
							<input type="text"id="L_identity" name="identity" lay-verify="identity|required" placeholder="" autocomplete="off" class="layui-input">
						</div>
					</div>


					<div class="layui-form-item">
						<label  class="layui-form-label">
						</label>
						<button class="layui-btn" lay-filter="add" lay-submit="">确定</button>
					</div>
				</form>
			</div>
		</div>
	</body>

</html>